<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>${config.sysName}</title>
    <meta name="keywords" content="${config.sysName}">
    <meta name="description" content="${config.sysName} ">
    <#import "/common/import.ftl" as import>
	<@import.systemImportCss/>
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper"> 
        <@import.leftMenuImportHtml/>  
         <!--右侧部分开始-->
         <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0;min-height: 76px">
                   <!--隐藏左侧菜单-->
                   <!-- <div>
                       <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#" style="margin-top: 25px">
                       	<i class="fa fa-bars" style="color:white"></i> 
                       </a> 
                    </div> -->
                    <div class="row" style="margin-top: 14px;color: #fff;margin-left: 10px;">
                    	<span style="font-size: 32px;font-weight: bold;margin-left: 8px;">${config.sysName}</span>
                    </div>
                    <div style="height: 31px;background: #3A9B34;float: right;margin-top: -30px;margin-right: 50px;color: #FFF;border-radius: 10px;padding: 5px 10px;">
                    	<a data-toggle="dropdown" aria-expanded="false" style="color:#FFF"><i class="fa fa-user"></i>
                    	欢迎您，<#if (user.name)?? &&  user.name != "" >
							     ${user.name}
								<#elseif (user.account)??>
								  ${user.account}
								<#else>   
								  ${user.phone}
								</#if>
								<span class="caret"></span>
						</a>
						<ul role="menu" class="dropdown-menu dropdown-menu-right">
                                <li><a class="J_menuItem" href="${WEB_PATH }/system/user/view/accountinfo.do" data_false = "true">账户信息</a>
                                </li>
                                
                                <li><a class="J_menuItem" href="${WEB_PATH }/system/user/view/editpassword.do" data_false = "true">密码修改</a></li>
                                <li class="divider"></li>
                                	<li><a href="${WEB_PATH }/system/user/logout.do" >退出</a>
                                </li>
                            </ul>
                    </div>
                    
                </nav>
            </div>
            <div class="row content-tabs">
                <button class="roll-nav roll-left J_tabLeft rounded-five"><i class="fa fa-backward"></i>
                </button>
                <nav class="page-tabs J_menuTabs">
                    <div class="page-tabs-content">
                        <a href="javascript:;" class="active J_menuTab rounded-five" id="main_title" data-id="${WEB_PATH }/system/admin/main.do">首页</a>
                    </div>
                </nav>
                <button class="roll-nav roll-right J_tabRight rounded-five" style="right:0px;"><i class="fa fa-forward"></i>

                </button>
                <div class="btn-group roll-nav roll-right" style="display:none;">
                    <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>

                    </button>
                    <ul role="menu" class="dropdown-menu dropdown-menu-right">
                        <li class="J_tabShowActive"><a>定位当前选项卡</a>
                        </li>
                        <li class="divider"></li>
                        <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                        </li>
                        <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                        </li>
                    </ul>
                </div>
                <a href="${WEB_PATH }/system/user/logout.do" class="roll-nav roll-right J_tabExit" style="display:none;"><i class="fa fa fa-sign-out"></i> 退出</a>
            </div>
            <!--中间部分
            <div style="width:2%;height:100%;float:left;">
                       <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#" style="background-color: #366c9e;margin-left:-10px;">
                       	<i class="glyphicon glyphicon-resize-horizontal" style="margin-left:-7px;"></i> 
                       </a> 
            </div>
            <div style="width:98%;height:100%;float:right">
	            <div class="row J_mainContent" id="content-main">
	                <iframe class="J_iframe" name="yiling_iframe" id="yiling_iframe" width="100%" height="100%" src="${WEB_PATH }/system/admin/main.do" frameborder="0" data-id="${WEB_PATH }/system/admin/main.do" seamless></iframe>
	            </div>
            </div>-->
            <div class="row J_mainContent" id="content-main">
                <iframe class="J_iframe" name="yiling_iframe" id="yiling_iframe" width="100%" height="100%" src="${WEB_PATH }/system/admin/main.do" frameborder="0" data-id="${WEB_PATH }/system/admin/main.do" seamless></iframe>
            </div>
            <div class="footer" style="height:100px;">
                <div class="" style="text-align: center;"><p>&copy; 建设单位:新疆维吾尔自治区环保厅大气管理处 &nbsp;&nbsp;&nbsp;&nbsp;自治区污染源监控与信息中心</p></div><br/>
                <div class="" style="text-align: center;margin-top:-20px;"><p>&copy; 技术支持:联通系统集成有限公司新疆分公司</p></div>
            </div>
        </div>
        <!--右侧部分结束--> 
    </div>
    <@import.systemImportScript/>
    <script>
    	<#if user.userType == "jcjg">
    	     var jcjgzt = "${user.tsorganizationInfo.JYJGZD}";
    	     if(jcjgzt == "ty"){
    	     	layer.alert('尊敬的用户您好：<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: red">你所在的检测机构【${user.tsorganizationInfo.JYJGMC}】，已被停业！</span>',{icon: 3, title:'系统提示'});
    	     }
    	     if(jcjgzt == "zx"){
    	     	layer.alert('尊敬的用户您好：<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: red">你所在的检测机构【${user.tsorganizationInfo.JYJGMC}】，已被注销！</span>',{icon: 3, title:'系统提示'});
    	     }
    	    </#if>
    </script>
</body>
 <script >
 	$(function(){
 		//console.log($("#url111").val());
 		$(".dropdown-alerts a").on("click",function(){
 			$("#messageMenu").trigger('click');
 		});
 	})
 	
 	function menuClick(a){
 	      console.log(a.attr("href"))
 	     $("#url111").attr("href",a.attr("data-url"));
 	     $("#urltext").text(a.attr("data-name"));
 		 $("#url111").trigger('click')
 	}
 	
 	function menuClose(url){
 	     $(".page-tabs-content a").each(function(){
 	         var _this = $(this);
 	         if(_this.attr("data-id")==url){
 	         	_this.children().eq(0).trigger('click');
 	         }
 	     	
 	     });
 	}
 	
 </script>

</html>